package com.quanyue.haircut.shop.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Table
public class AssessDetail {
    @Column(name = "shop_name")
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    @Column(name = "technician_name")
    @ApiModelProperty(value = "技师姓名")
    private String technicianName;
    @Column(name = "technician_image")
    @ApiModelProperty(name = "技师头像")
    private String technicianImage;
    @Column(name = "id")
    @ApiModelProperty(value = "评价表")
    private Integer id;
    @Column(name = "content")
    @ApiModelProperty(value = "评价的内容")
    private String content;
    @Column(name = "star_count")
    @ApiModelProperty(value = "评价星级")
    private Integer starCount;
    @Transient
    @ApiModelProperty(value = "评价图片")
    private List <String> images;
    @Column(name = "create_time")
    @ApiModelProperty(value = "评价时间")
    private LocalDateTime createTime;
    @Column(name = "nick_name")
    @ApiModelProperty(value = "用户昵称")
    private String nickName;
    @Column(name = "head_image")
    @ApiModelProperty(value = "用户头像")
    private String headImage;
}
